package com.tuanzi.loan.vo.response.family;

import com.tuanzi.loan.core.vo.IdentityResponse;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class LoanAdvertSearchResponse extends IdentityResponse {

    private String channel;

    private Integer position;

    private Integer activityId;

    private String activityName;

    private String advertSpace;

    private String tag;

    private String operator;

    private String startTime;

    private String endTime;

    private Integer status;


    public boolean showOnlineButton(){
        return status == 0;
    }

    public boolean showOfflineButton(){
        return status == 1;
    }

}
